import { Spin, Alert } from "antd"

function Loading(props: any) {
  // 只有当第一次打开的时候才会显示这个loading组件 优化体验
  return (
    <div className="comLoding" style={{ position: "absolute", top: "40%", left: "50%", width: "100px" }}>
      <Spin size="large" tip="Loading...">
        <Alert message="" description="" type="info" />
      </Spin>
    </div>
  )
}

export default Loading
